<%@ page language="java" import="java.util.*" pageEncoding="utf-8"%>
<%@taglib prefix="c" uri="http://java.sun.com/jsp/jstl/core" %>
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html>
  <head>
    <title>player</title>
	<meta http-equiv="pragma" content="no-cache">
	<meta http-equiv="cache-control" content="no-cache">
	<meta http-equiv="expires" content="0">    
	<meta http-equiv="keywords" content="keyword1,keyword2,keyword3">
	<meta http-equiv="description" content="This is my page">
	<link rel="stylesheet" type="text/css" href="${pageContext.request.contextPath}/css/player.css">
	<script type="text/javascript" src="${pageContext.request.contextPath}/js/jquery-1.8.3.js"></script>
	<script type="text/javascript" src="${pageContext.request.contextPath}/js/offlights.js"></script>
	<script type="text/javascript" src="${pageContext.request.contextPath}/ckplayer/ckplayer.js" charset="utf-8"></script>
	<script type="text/javascript" src="${pageContext.request.contextPath}/js/base.js"></script>
	<script type="text/javascript" src="${pageContext.request.contextPath}/js/player.js"></script>
  </head>
  
 <body>
   <c:if test="${empty user.user_id}">
 	 <jsp:include page="top.jsp"></jsp:include>
  </c:if>
  <c:if test="${!empty user.user_id}">
 	 <jsp:include page="topLogin.jsp"></jsp:include>
  </c:if>
 <div style="clear:both;"></div>
 <c:set var="headAddress" value="${song.song_head}" scope="request"></c:set>
 	<div id="video" style="position:relative;z-index: 100;width:600px;height:400px;float: left;margin-left:15%">
		<div id="a1">
			<video id="video_mv" src="../mv/${song.mv}" width="100%" height="100%" preload="Metadata" autoplay="autoplay" loop="loop" controls="controls"></video>
		</div>
	</div>
	 <div style="width:350px;height:400px;float:left; backgroud-color:red;">
	 	<div style="width:100%; height:50px; ">
	 		<div style="float:left;"><img src="../image/img/my-dian.jpg" width="50" height="50"/></div>
	 		<div style="height:50px; line-height:50px; float:left;"><span style="font-size:18px; ">歌曲:${song.song_name}</span></div>
	 	</div>
	 		<input id="song_song_id" type="hidden" value="${song.song_id}"/>
	 		<input id="song_song_name" type="hidden" value="${song.song_name}"/>
	   		<img src="../image/song/${song.song_head}" width="100%" height="350"/>
	 </div>
	 
	 <div id="player_esmain" style="width:69.5%; height:auto; float:left;margin-left:15%;">
	 	<div id="player_estimate">
	 	<!-- <c:forEach items="${eslist}" var="estimate" varStatus="status">
	 	<div id="r_r1">
	 		<div class="master">评论歌曲：${song.song_name }</div>-->
    		<!--左边的头像-->
	    	<!--<div id="r_r2">
		    	 <div style="width: 50px; height: 50px;margin-top:20px;margin-left: 5px;">
			    	<img src="image/user/${estimate.user.head }" border="0" width="50" height="50"/>
			     </div>	  
			     <div id="r_r3" >
			    	${estimate.user.username }
			     </div> 
	       </div>
	       <div id="r_r4">&nbsp;&nbsp; 评论内容：</div>-->
	       <!--正文的显示内容  -->
	      <!-- <div style="width: 91%;height:80px;;float: left;text-align: left;font-size: 13px">
	  		 	${estimate.estimateInfo }
	       </div>
        </div>
	  </c:forEach> -->
	  </div>
	 <c:if test="${empty user.user_id}">
	  
	  		<!-- 回复的部分 -->
		<div style="width:100%; height:30px;">
			 <span style="color:blue;font-size:14px;">您还没有登录哦,请先</span><a href="/music/user/toLogin.do" style="color:red;font-size:14px;">登录</a>
			 <span style="color:blue;font-size:14px;">再发表品论</span>
		</div>
	  
	  
	  </c:if>
	  <c:if test="${!empty user.user_id}">
	 	<div class="r_r8" style="display:block;">
	    	<table border="0" cellpadding="1" cellspacing="0" style="margin-left: 0px">
	    		<tr>
				   <td style="width: auto;" height="70"> 
				    <img src="../image/user/${user.head} "/><br/>
				    &nbsp;&nbsp;${user.user_name }
				   </td>
				   <td>
				     <textarea style="width: 300px; height: 120px; text-align:left;" id="textarea" name="textarea" >
				     </textarea>
				   </td>
			   </tr>
	    		<tr>
			      <td colspan="2" height="21" align="center">
			       <input id="submit" type="submit" value="评论" class="r_sub2" >
			      </td>
			   </tr>
	    	
	    	</table>
	    	<input id="user_user_name" type="hidden" value="${user.user_name}"/>
	    	<input id="user_head" type="hidden" value="${user.head}"/>
	    	<input type="hidden" value="${song.song_id}" id="songid"/>
	    </div>
    	<!-- 回复的部分结束 -->
	  
	  </c:if>
	  
	 </div>
	 
	 <div style="clear:both;"></div>
	<jsp:include page="bottom.jsp"></jsp:include>
</body>
</html>
